// 连板记录表格
const plateHistoryColumn = [
  {
    cellFieldsOption: { fields: 'limitupDate' },
    title: '涨停日期',

    key: 'limitupDate',
    width: '33vw',
  },
  {
    cellFieldsOption: {
      fields: 'limitupNum',
      thsFontMoney: true,
    },
    title: '连板天数',
    key: 'limitupNum',
    // 配置排序
    sortBy: true,
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'inflow',
      thsFontMoney: true,
      textFormat: 'M.2',
    },
    title: '净流入',
    key: 'inflow',
    // 配置排序
    sortBy: true,
    width: '25vw',
  },
];
// 涨停概要表格
const ztgyColumn = [
  {
    cellFieldsOption: { fields: 'stockName' },
    title: '股票名称',

    key: 'stockName',
    width: '28vw',
  },
  {
    cellFieldsOption: {
      fields: 'chance',
      isRedGreen: true,
      textFormat: 'M.2%',
      thsFontMoney: true,
    },
    title: '明日涨停概率',
    key: 'chance',
    // 配置排序
    sortBy: true,
    width: '18vw',
  },
  {
    cellFieldsOption: {
      fields: 'price',
      thsFontMoney: true,
      textFormat: 'M.2',
    },
    title: '最新价',
    key: 'price',
    // 配置排序
    sortBy: true,
    width: '14vw',
  },
  {
    cellFieldsOption: {
      fields: 'upRise',
      isRedGreen: true,
      thsFontMoney: true,
      textFormat: '+M.2%',
    },
    title: '涨幅',
    key: 'upRise',
    // 配置排序
    sortBy: 'desc',
    width: '18vw',
  },
];
// 涨停监控涨停表格
const ztjkLimitupColumn = [
  {
    cellFieldsOption: {
      fields: 'notice',
    },
    title: '提醒',
    key: 'notice',
    fixed: 'left',
    width: '21vw',
  },
  {
    cellFieldsOption: [{ fields: 'stockName' }, { fields: 'stockCode' }],
    title: '股票名称',
    key: 'stockName',
    fixed: 'left',
    width: '21vw',
  },
  {
    cellFieldsOption: {
      fields: 'plate',
      thsFontMoney: true,
    },
    title: '连板数',
    // 配置排序
    sortBy: true,
    width: '15vw',
    key: 'plate',
  },
  {
    cellFieldsOption: {
      fields: 'chance',
      thsFontMoney: true,
      textFormat: 'M.2%',
    },
    title: '明日涨停概率',
    width: '28vw',
    // 配置排序
    sortBy: true,
    key: 'chance',
  },
  {
    cellFieldsOption: {
      fields: 'upRise',
      thsFontMoney: true,
      textFormat: 'M.2%',
      isRedGreen: true,
    },
    title: '涨幅',
    // 配置排序
    sortBy: true,
    key: 'upRise',
  },
  {
    cellFieldsOption: {
      fields: 'acceleration',
      thsFontMoney: true,
      textFormat: 'M.2%',
    },
    title: '涨速',
    // 配置排序
    sortBy: true,
    key: 'acceleration',
  },
  {
    cellFieldsOption: {
      fields: 'price',
      thsFontMoney: true,
      textFormat: 'M.2',
    },
    title: '最新价',
    // 配置排序
    sortBy: true,
    key: 'price',
  },
  {
    cellFieldsOption: {
      fields: 'reason',
    },
    title: '涨停原因',
    // 配置排序
    width: '40vw',
    sortBy: true,
    key: 'reason',
  },
];
// 涨停监控高度活跃表格
const ztjkHighColumn = [
  {
    cellFieldsOption: {
      fields: 'notice',
    },
    title: '提醒',
    key: 'notice',
    fixed: 'left',
    width: '21vw',
  },
  {
    cellFieldsOption: [{ fields: 'stockName' }, { fields: 'stockCode' }],
    title: '股票名称',
    key: 'stockName',
    fixed: 'left',
    width: '21vw',
  },
  {
    cellFieldsOption: {
      fields: 'rise',
      thsFontMoney: true,
      textFormat: '+M.2%',
      isRedGreen: true,
    },
    title: '当前涨幅',
    width: '23vw',
    // 配置排序
    sortBy: 'desc',
    key: 'rise',
  },
  {
    cellFieldsOption: {
      fields: 'gene',
      thsFontMoney: true,
    },
    title: '涨停基因',
    width: '20.5vw',
    // 配置排序
    sortBy: true,
    key: 'gene',
  },
  {
    cellFieldsOption: {
      fields: 'fiveMinRise',
      thsFontMoney: true,
      textFormat: '+M.2%',
      isRedGreen: true,
    },
    title: '近5分钟涨幅',
    width: '23vw',
    // 配置排序
    sortBy: true,
    key: 'fiveMinRise',
  },
  {
    cellFieldsOption: {
      fields: 'sellForce',
      thsFontMoney: true,
    },
    title: '卖盘力量',
    width: '23vw',
    // 配置排序
    sortBy: true,
    key: 'sellForce',
  },
  {
    cellFieldsOption: {
      fields: 'buyForce',
      thsFontMoney: true,
    },
    title: '买盘力量',
    width: '23vw',
    // 配置排序
    sortBy: true,
    key: 'buyForce',
  },
  {
    cellFieldsOption: {
      fields: 'maxRise',
      thsFontMoney: true,
      textFormat: '+M.2%',
      isRedGreen: true,
    },
    title: '当日最大涨幅',
    // 配置排序
    sortBy: true,
    key: 'maxRise',
  },
];
// 涨停监控关注表格
const ztjkNoticeColumn = [
  {
    cellFieldsOption: {
      fields: 'notice',
    },
    title: '提醒',
    key: 'notice',
    width: '21vw',
  },
  {
    cellFieldsOption: [{ fields: 'stockName' }, { fields: 'stockCode' }],
    title: '股票名称',
    key: 'stockName',
    align: 'left',
    width: '21vw',
  },
  {
    cellFieldsOption: {
      fields: 'rise',
      thsFontMoney: true,
      textFormat: '+M.2%',
      isRedGreen: true,
    },
    title: '当前涨幅',
    // 配置排序
    width: '22vw',
    sortBy: 'desc',
    key: 'rise',
  },
  {
    cellFieldsOption: {
      fields: 'price',
      thsFontMoney: true,
    },
    title: '最新价',
    // 配置排序
    width: '21vw',
    sortBy: true,
    key: 'price',
  },
];

// 涨停基因
const ztjyColumn = [
  {
    cellFieldsOption: [{ fields: 'stockName' }, { fields: 'stockCode' }],
    title: '股票名称',
    key: 'stockName',
  },
  {
    cellFieldsOption: {
      fields: 'score',
      thsFontMoney: true,
    },
    title: '涨停基因',
    key: 'score',
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'price',
      thsFontMoney: true,
      textFormat: 'M.2',
      isRedGreen: true,
    },
    title: '价格',
    key: 'price',
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'change',
      thsFontMoney: true,
      textFormat: '+M.2%',
      isRedGreen: true,
    },
    title: '涨幅',
    key: 'change',
    sortBy: true,
  },
];

// 连板天梯
const lbttColunm = [
  {
    cellFieldsOption: { fields: 'stockName' },
    title: '股票名称',
    fixed: 'left',
    key: 'stockName',
  },
  {
    cellFieldsOption: {
      fields: 'days',
      isRedGreen: true,
      thsFontMoney: true,
    },
    title: '连板天数',
    key: 'days',
    // 配置排序
    sortBy: 'desc',
  },
  {
    cellFieldsOption: {
      fields: 'ztgl',
      isRedGreen: true,
      textFormat: '+M.2%',
      thsFontMoney: true,
    },
    title: '明日涨停概率',
    key: 'ztgl',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'time',
      thsFontMoney: true,
    },
    title: '涨停时间',
    key: 'time',
    // 配置排序
    sortBy: true,
  },
];

// 强趋势股/历史新高
const qqsgRdxgColumn = [
  {
    cellFieldsOption: { fields: 'stockName' },
    title: '股票名称',
    fixed: 'left',
    key: 'stockName',
    width: '24vw',
  },
  {
    cellFieldsOption: {
      fields: 'price',
      isRedGreen: true,
      thsFontMoney: true,
      textFormat: 'M.2',
    },
    title: '最新价',
    key: 'price',
    // 配置排序
    sortBy: true,
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'upRise',
      isRedGreen: true,
      textFormat: '+M.2%',
      thsFontMoney: true,
    },
    title: '涨跌幅',
    key: 'upRise',
    // 配置排序
    sortBy: true,
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'hsl',
      textFormat: 'M.2%',
      thsFontMoney: true,
    },
    title: '换手率',
    key: 'hsl',
    // 配置排序
    sortBy: 'desc',
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'industryName',
    },
    title: '所属行业',
    width: 104,
    key: 'industryName',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'jye',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '成交额',
    width: 80,
    key: 'jye',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'jyl',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '成交量',
    width: 80,
    key: 'jyl',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'ltz',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '流通市值',
    width: 80,
    key: 'ltz',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'zsz',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '总市值',
    width: 80,
    key: 'zsz',
    // 配置排序
    sortBy: true,
  },
];

// 新股池
const xgcColumn = [
  {
    cellFieldsOption: { fields: 'stockName' },
    title: '股票名称',
    fixed: 'left',
    key: 'stockName',
    width: '24vw',
  },
  {
    cellFieldsOption: {
      fields: 'price',
      isRedGreen: true,
      thsFontMoney: true,
      textFormat: 'M.2',
    },
    title: '最新价',
    key: 'price',
    // 配置排序
    sortBy: true,
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'upRise',
      isRedGreen: true,
      textFormat: '+M.2%',
      thsFontMoney: true,
    },
    title: '涨跌幅',
    key: 'upRise',
    // 配置排序
    sortBy: true,
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'hsl',
      textFormat: 'M.2%',
      thsFontMoney: true,
    },
    title: '换手率',
    key: 'hsl',
    // 配置排序
    sortBy: 'desc',
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'ssts',
    },
    title: '上市天数',
    key: 'ssts',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'kbts',
    },
    title: '开板天数',
    key: 'kbts',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'cje',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '成交额',
    width: 80,
    key: 'cje',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'cjl',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '成交量',
    width: 80,
    key: 'cjl',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'ltsz',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '流通市值',
    width: 80,
    key: 'ltsz',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'zsz',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '总市值',
    width: 80,
    key: 'zsz',
    // 配置排序
    sortBy: true,
  },
];

// 炸板池
const zbcColumn = [
  {
    cellFieldsOption: { fields: 'stockName' },
    title: '股票名称',
    fixed: 'left',
    key: 'stockName',
    width: '24vw',
  },
  {
    cellFieldsOption: {
      fields: 'price',
      isRedGreen: true,
      thsFontMoney: true,
      textFormat: 'M.2',
    },
    title: '最新价',
    key: 'price',
    // 配置排序
    sortBy: true,
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'upRise',
      isRedGreen: true,
      textFormat: '+M.2%',
      thsFontMoney: true,
    },
    title: '涨跌幅',
    key: 'upRise',
    // 配置排序
    sortBy: 'desc',
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'hsl',
      textFormat: 'M.2%',
      thsFontMoney: true,
    },
    title: '换手率',
    key: 'hsl',
    // 配置排序
    sortBy: true,
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'scztsj',
    },
    title: '首次涨停时间',
    key: 'scztsj',
    // 配置排序
    sortBy: true,
    width: '24vw',
  },
  {
    cellFieldsOption: {
      fields: 'jye',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '成交额',
    width: 80,
    key: 'jye',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'jyl',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '成交量',
    width: 80,
    key: 'jyl',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'ltz',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '流通市值',
    width: 80,
    key: 'ltz',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'zsz',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '总市值',
    width: 80,
    key: 'zsz',
    // 配置排序
    sortBy: true,
  },
];

// 跌停池
const dtcColumn = [
  {
    cellFieldsOption: { fields: 'stockName' },
    title: '股票名称',
    fixed: 'left',
    key: 'stockName',
    width: '24vw',
  },
  {
    cellFieldsOption: {
      fields: 'price',
      isRedGreen: true,
      thsFontMoney: true,
      textFormat: 'M.2',
    },
    title: '最新价',
    key: 'price',
    // 配置排序
    sortBy: true,
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'upRise',
      isRedGreen: true,
      textFormat: '+M.2%',
      thsFontMoney: true,
    },
    title: '涨跌幅',
    key: 'upRise',
    // 配置排序
    sortBy: true,
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'hsl',
      textFormat: 'M.2%',
      thsFontMoney: true,
    },
    title: '换手率',
    key: 'hsl',
    // 配置排序
    sortBy: 'desc',
    width: '20vw',
  },
  {
    cellFieldsOption: {
      fields: 'isopen',
    },
    title: '是否开板',
    key: 'isopen',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'scdtsj',
    },
    title: '首次跌停时间',
    key: 'scdtsj',
    // 配置排序
    sortBy: true,
    width: '24vw',
  },
  {
    cellFieldsOption: {
      fields: 'zzdtsj',
    },
    title: '最终跌停时间',
    key: 'zzdtsj',
    // 配置排序
    sortBy: true,
    width: '24vw',
  },
  {
    cellFieldsOption: {
      fields: 'lbzs',
    },
    title: '连板数',
    key: 'lbzs',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'jye',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '成交额',
    width: 80,
    key: 'jye',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'jyl',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '成交量',
    width: 80,
    key: 'jyl',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'ltz',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '流通市值',
    width: 80,
    key: 'ltz',
    // 配置排序
    sortBy: true,
  },
  {
    cellFieldsOption: {
      fields: 'zsz',
      thsFontMoney: true,
      textFormat: 'rmb',
    },
    title: '总市值',
    width: 80,
    key: 'zsz',
    // 配置排序
    sortBy: true,
  },
];

export {
  plateHistoryColumn,
  ztgyColumn,
  ztjkLimitupColumn,
  ztjkHighColumn,
  ztjkNoticeColumn,
  ztjyColumn,
  lbttColunm,
  qqsgRdxgColumn,
  xgcColumn,
  zbcColumn,
  dtcColumn,
};
